package com.dodayum.java8.pattern.strategy;

/**
 * @author BaiYu
 * @date 2023/11/2415:19
 */
public class Main {

    public static void main(String[] args) {

        // https://blog.csdn.net/A_art_xiang/article/details/130824253
        Context a;
        Select select = new Select();
        IStrategy iStrategy = select.getIStrategy("A");
        a = new Context(iStrategy);
        a.algorithm();


    }

}
